The Screens:

Copy the UT Buttons folder into the following directory:
C:\Mach3\Bitmaps\MillBitmaps\UT Buttons

the screen sets in C:\Mach3 folder, but that's up to you.

You must set Gen config to persistant DRO's, tick Modbus use if using a PLC, and Persistant Tools

The Inputs and Outputs are going to the Mod-bus at 768 in (1400 as outputs in the plc), and 640 Out (1200 as inputs in the plc).
Using Bit special controls, and register type is Holding on both I and O. 

NOTE: When stepping through the M6start, it cycles all the I/0 correctly, but it sometimes does wierd things going through Mach.
I am UNABLE to do ANY Testing since my Laptop is vista and I have to use a USB to serial converter........these NEVER seem to work right!!

I sent the XML also with Modbus config.
I sent a PLC project to with simple I/0 on a DL06 (will work on an 05).


to use The Wine Rack ATC:
Press the tool changer page button (top right).
To initially set Tool locations (upto 24), Jog your empty spindle over the tool, then jog down to the spindle is sitting on the tool and you can "Capture" it. there is a manual capture/relese button on the screen. If your happy with that position, (assuming your starting with T-1. Then hit the Tool 1 button, a LED next to it will come on and it will put that tools x, y, and z location on the DRO page (there is a button for you to look at that page if you want). You do this process through all 24 tools.

Now to run the program, you must put a tool into the spindle before starting the part run. There is a DRO on the page called "Old tool" put the number of the tool you got from the rack into the spindle and grab it.

Then run your part program, as a Newtools are called, the M06 puts back the Old tool and loads the new tool then continues on.

The INPUTS for your use are all disable by commenting out in the m06. You will have to enable the ones you want to use.

INPUT1=AirPressure adaqute sensor (assume air actuated tool clamp)
INPUT2=Is tool Unclamped (released) sensor
INPUT3=Tool is captured sensor
INPUT4=Tool length setting device (optional).

OUTPUT1=Capture/Release (on is capture)
OUTPUT2=Air blast Spindle, this one is timed that when the oldtool is dropped an air blast can clean your spindle/and your Wine Rack.
OUTPUT3=Turn on vacuum system for cutting tool
OUTPUT4=Turn on Vacuum for table hold down (optional)
OUTPUT5=Open Swarf door that covers Tool rack(optional)

Next Revision: I am working on an Auto Tool Hiegth setter, in where you hit one button, and all your tool Hiegth offsets are cycled through 1-24 and the offsets are stored in your library automatically). To use this feature you will need a tool Hiegth setting sensor, and decide on its location, effeciency would dictate somewhere close to your Wine Rack.

As always Paypal funds would be accepted.........hehehe
poppabear@hughes.net

If you dont use a PLC, then you will need to remap your ports and pins for your I/O.

For your convienance there is a simple G-code file called: WineRackATCtest.TAP Set your old tool to 2 and run this file after you have loaded all your tool locations.
It puts up T-2, then goes and gets T-1, makes a move, at next change, puts up T-1 and gets T-2......... 

File contents:

Screen Set: 3 Axis Router + Wine Rack.set
BitMaps for Sceen: UT (folder has insturctions above)
Mach XML: Router WineATC
PLC Project: WINE RACK ATC FOR ROUTER
Instructions: README Instructions for install.txt